﻿using IBLL;
using IDAL;
using Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace BLL
{
   public class OutcallBLL:IOutcallBLL
    {
        IOutCallDAL _dal;
        public OutcallBLL(IOutCallDAL dal)
        {
            _dal = dal;
        }
        /// <summary>
        /// 获取出诊信息
        /// </summary>
        /// <returns></returns>
        public List<ShowOutcallview> GetOutcalls()
        {
            return _dal.GetOutcalls();
        }
        /// <summary>
        /// 出诊详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Outcalls GetOutcallsById(int id)
        {
            return _dal.GetOutcallsById(id);
        }
    }
}
